home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D2.iso / workshop / onlineco / files / ImageMagick-6.0.1-Q16-windows-dll.exe / {app} / include / magick / attribute.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-03-24  |  979 b   |  41 lines

  1. /*
  2.   Methods to Get/Set/Destroy Image Text Attributes.
  3. */
  4. #ifndef _MAGICK_ATTRIBUTE_H
  5. #define _MAGICK_ATTRIBUTE_H
  6.  
  7. #if defined(__cplusplus) || defined(c_plusplus)
  8. extern "C" {
  9. #endif
  10.  
  11. typedef struct _ImageAttribute
  12. {
  13.   char
  14.     *key,
  15.     *value;
  16.                                                                                 
  17.   unsigned int
  18.     compression;
  19.                                                                                 
  20.   struct _ImageAttribute
  21.     *previous,
  22.     *next;
  23. } ImageAttribute;
  24.  
  25. extern MagickExport const ImageAttribute
  26.   *GetImageAttribute(const Image *,const char *),
  27.   *GetImageClippingPathAttribute(const Image *),
  28.   *GetImageInfoAttribute(const ImageInfo *,const Image *,const char *);
  29.  
  30. extern MagickExport unsigned int
  31.   SetImageAttribute(Image *,const char *,const char *);
  32.  
  33. extern MagickExport void
  34.   DestroyImageAttributes(Image *);
  35.  
  36. #if defined(__cplusplus) || defined(c_plusplus)
  37. }
  38. #endif
  39.  
  40. #endif
  41.